﻿<!DOCTYPE html>

<html lang="@(Html.ViewContext.RouteData.Values["lang"] ?? "zh-CN")">
<head>
    <title>@ViewBag.Title</title>
    <link type="text/css" rel="styleSheet" href="@Url.Content("~/Content/themes/base/minified/jquery-ui.min.css")" />
    <link type="text/css" rel="styleSheet" href="@Url.Content("~/Content/Default.css")" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/modernizr-2.5.3.js")"></script>
    @RenderSection("HeaderScript", false)
</head>

    
    @{
        var isDefaut = (string) Html.ViewContext.RouteData.Values["Controller"] == "Home" &&
                       (string) Html.ViewContext.RouteData.Values["Action"] == "Default";
          }


    <body id="@(isDefaut ? "defaultPage" : "")">
    @Html.Partial("Partial/_UserCenterNav")
    @Html.Partial("Partial/_MainHeader")
    @RenderBody()
    @Html.Partial("Partial/_MainFooter")
</body>
    @RenderSection("FooterScript", false)
</html>
